/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import java.util.List;
import java.util.Set;
import javax.ejb.Remote;
import rental.Quote;
import rental.Reservation;
import rental.ReservationConstraints;
import rental.ReservationException;

/**
 *
 * @author wouterdb
 */
@Remote
public interface CarRentalSessionRemote {

    Set<String> getAllRentalCompanies();
    
    public void setClientName(String name);
    
    public Quote createQuote(String company, ReservationConstraints constraints) throws ReservationException;
    
    public List<Quote> getCurrentQuotes();
    
    public List<Reservation> confirmQuotes() throws ReservationException;
    
}
